﻿using System;

namespace ApplicationCache.Interfaces
{
    public class CacheItem
    {
        public string Key { get; set; }
        public Object Value { get; set; }
        public string RegionName { get; set; }

        public CacheItem(string key)
        {
            Key = key;
        }

        public CacheItem(string key, object value)
        {
            Key = key;
            Value = value;
        }

        public CacheItem(string key, object value, string regionName)
        {
            Key = key;
            Value = value;
            RegionName = regionName;
        }
    }
}
